<?php 
	$auth = Zend_Auth::getInstance();
?>
<?php if($auth->hasIdentity()):?>
	User : <?php echo Zend_Debug::dump($auth->getIdentity())?>
	<a href="<?php echo $this->url(array("controller"=>"account","action"=>"logout"))?>">Logout</a>
<?php else :?>
	You not logged in ! <a href="<?php echo $this->url(array("controller"=>"account","action"=>"login"))?>">Login</a> 
<?php endif;?>